﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/HRManagerUI/HrManager.Master"
    AutoEventWireup="true" CodeBehind="AssignTrainee.aspx.cs" Inherits="HRM.UI.HRManagerUI.TrainingUI.AssignTrainee" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
    <link href="../../../Styles/Training/assignTrainingCss.css" rel="stylesheet" type="text/css" />
    <link href="../../../Styles/Training/AddTrainingCss.css" rel="stylesheet" type="text/css" />
    <fieldset>
        <legend>Assign Trainee to Training Module</legend>
        <table width="100%">
            <tr>
                <td style="width: 50%" valign="top">
                    <table class="assignTB">
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Label runat="server" ID="lblMsg"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="labelfield">
                                Employee Code/Trainee Code
                            </td>
                            <td class="inputfield">
                                <input type="text" id="txtEmpCode" runat="server" class="textboxinput" />
                            </td>
                        </tr>
                        <tr>
                            <td class="labelfield">
                                Select Training
                            </td>
                            <td class="inputfield">
                                <select runat="server" id="selectTraining" class="dropdownCss">
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <input type="submit" id="assignTrainee" runat="server" value="Assign Trainee" onserverclick="AssignEmployee"
                                    class="btnCss" />
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 50%" valign="top">
                    <table width="100%">
                        <tr>
                            <td colspan="2" class="Title">
                                Employee Training Information
                            </td>
                          
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </fieldset>
    List of Assigned Employee for the Training<asp:Label runat="server" ID="msgTotalTrainee"></asp:Label>
    <asp:GridView runat="server" ID="assignedEmployeesGdv" Width="100%" 
        AutoGenerateColumns="False" CssClass="GridviewStyle" 
         BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
        CellPadding="3">
        <Columns>
            <asp:BoundField DataField="Code" HeaderText="Employee Code" />
            <asp:BoundField DataField="Name" HeaderText="Name" />
            <asp:BoundField DataField="EmpStatus" HeaderText="Status" />
            <asp:BoundField DataField="Designation" HeaderText="Designation" />
            <asp:BoundField DataField="Project" HeaderText="Project Name" />
            <asp:BoundField DataField="Training" HeaderText="Training" />
        </Columns>
        <FooterStyle CssClass="GridViewFooterStyle"/>
        <HeaderStyle Font-Bold="True" CssClass="GridViewHeaderStyle"/>
        <PagerStyle CssClass="GridViewFooterStyle" HorizontalAlign="Center" />
        <RowStyle ForeColor="#000066" />
        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#007DBB" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#00547E" />
    </asp:GridView>
</asp:Content>
